package com.core.vo;

import java.time.Instant;
import java.util.Date;

/**
 * create by yongli on 2022-01-17 11:56
 */

public class Screen {
    String id;
    Instant createTime;
    Date update;

    public Screen() {
    }

    public Screen(String id) {
        this.id = id;
        this.createTime = Instant.now();
        this.update = new Date();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public Instant getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Instant createTime) {
        this.createTime = createTime;
    }

    public Date getUpdate() {
        return update;
    }

    public void setUpdate(Date update) {
        this.update = update;
    }
}
